Optimal. Leaf size=63 \[ \frac{(a d+b c) \tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )}{2 c^{3/2} d^{3/2}}-\frac{x (b c-a d)}{2 c d \left (c+d x^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0202435, antiderivative size = 63, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {385, 205} \[ \frac{(a d+b c) \tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )}{2 c^{3/2} d^{3/2}}-\frac{x (b c-a d)}{2 c d \left (c+d x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 385
Rule 205
Rubi steps
\begin{align*} \int \frac{a+b x^2}{\left (c+d x^2\right )^2} \, dx &=-\frac{(b c-a d) x}{2 c d \left (c+d x^2\right )}+\frac{(b c+a d) \int \frac{1}{c+d x^2} \, dx}{2 c d}\\ &=-\frac{(b c-a d) x}{2 c d \left (c+d x^2\right )}+\frac{(b c+a d) \tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )}{2 c^{3/2} d^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.0443304, size = 63, normalized size = 1. \[ \frac{(a d+b c) \tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )}{2 c^{3/2} d^{3/2}}-\frac{x (b c-a d)}{2 c d \left (c+d x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 68, normalized size = 1.1 \begin{align*}{\frac{ \left ( ad-bc \right ) x}{2\,cd \left ( d{x}^{2}+c \right ) }}+{\frac{a}{2\,c}\arctan \left ({dx{\frac{1}{\sqrt{cd}}}} \right ){\frac{1}{\sqrt{cd}}}}+{\frac{b}{2\,d}\arctan \left ({dx{\frac{1}{\sqrt{cd}}}} \right ){\frac{1}{\sqrt{cd}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.62434, size = 381, normalized size = 6.05 \begin{align*} \left [-\frac{{\left (b c^{2} + a c d +{\left (b c d + a d^{2}\right )} x^{2}\right )} \sqrt{-c d} \log \left (\frac{d x^{2} - 2 \, \sqrt{-c d} x - c}{d x^{2} + c}\right ) + 2 \,{\left (b c^{2} d - a c d^{2}\right )} x}{4 \,{\left (c^{2} d^{3} x^{2} + c^{3} d^{2}\right )}}, \frac{{\left (b c^{2} + a c d +{\left (b c d + a d^{2}\right )} x^{2}\right )} \sqrt{c d} \arctan \left (\frac{\sqrt{c d} x}{c}\right ) -{\left (b c^{2} d - a c d^{2}\right )} x}{2 \,{\left (c^{2} d^{3} x^{2} + c^{3} d^{2}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.516933, size = 112, normalized size = 1.78 \begin{align*} \frac{x \left (a d - b c\right )}{2 c^{2} d + 2 c d^{2} x^{2}} - \frac{\sqrt{- \frac{1}{c^{3} d^{3}}} \left (a d + b c\right ) \log{\left (- c^{2} d \sqrt{- \frac{1}{c^{3} d^{3}}} + x \right )}}{4} + \frac{\sqrt{- \frac{1}{c^{3} d^{3}}} \left (a d + b c\right ) \log{\left (c^{2} d \sqrt{- \frac{1}{c^{3} d^{3}}} + x \right )}}{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.26224, size = 77, normalized size = 1.22 \begin{align*} \frac{{\left (b c + a d\right )} \arctan \left (\frac{d x}{\sqrt{c d}}\right )}{2 \, \sqrt{c d} c d} - \frac{b c x - a d x}{2 \,{\left (d x^{2} + c\right )} c d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]